package com.benbi.shequapi.mapper;

import com.benbi.shequapi.bean.Person;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonMapper {
    String selectPersonNameById(@Param("pid")int pid);
    Person selectPersonById(@Param("pid")int pid);
    Person selectPersonByPhone(@Param("phone")String phone);
    List<Person> selectPersonByNameSubString(@Param("subString")String subString);
    int insertPerson(@Param("person")Person person);
}
